import React from "react";
import { Button } from "antd";

class TableFilter extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        const filterName = this.props.filterName;
        const handler = this.props.handler;

        return <div className="table-filter" ref={ (el) => this.el = el }>
                   <div className="inner">
                       <div className="title">
                           { this.props.title || "筛选条件" }
                       </div>
                       <div className="content">
                           <div>
                               { this.props.children }
                           </div>
                       </div>
                   </div>
               </div>
    }
}

export default TableFilter;